import { request } from 'umi';
import { MyInFoFileFace } from '@/utils/profile'

// 获取详细信息
export let Profille = () =>{
    return request('/system/user/profile');
}

// 修改详细信息
export let PutFille = (data : MyInFoFileFace ) =>{
    return request('/system/user/profile' , {
        method : 'PUT',
        data 
    });
}